import type { UserConfigExport } from "@tarojs/cli"

export default {
   logger: {
    quiet: false,
    stats: true
  },
  mini: {
    // 开发环境优化
    enableSourceMap: true,
    enableExtract: false,
    miniCssExtractPluginOption: {
      ignoreOrder: true
    },
    webpackChain(chain) {
      // 开发环境不压缩
      chain.optimization.minimize(false)
    }
  },
  h5: {}
} satisfies UserConfigExport<'webpack5'>
